public class Epidemic {
    private int epidemicData;
    public int Grade(){
        if (epidemicData > 2000)
            return 1;
        else if(epidemicData > 1300)
            return 2;
        else if(epidemicData > 800)
            return 3;
        else if(epidemicData > 500)
            return 4;
        else if(epidemicData > 200)
            return 5;
        else if(epidemicData >= 50)
            return 6;
        return  7;
    }

    public int getEpidemicData() {
        return epidemicData;
    }

    public void setEpidemicData(int epidemicData) {
        this.epidemicData = epidemicData;
    }
}
